package com.example.providera.service;

import java.io.IOException;
import java.util.concurrent.TimeoutException;

/**
 * @author guanjiwei
 */
public interface RabbitService {
    /**rabbit 发送接口*/
    public void send(String msg) throws IOException, TimeoutException;
    public void sendDirect(String msg) throws IOException, TimeoutException;

}
